- 
		Home
	
 
	- 
Image Gallery – Photo Grid & Video Gallery
 
- 
2.12.25
 
- 
Code
 
- 
Classes
 
-  Rest_Api 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											20 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											403 | 
										
																			
											| Lines of code | 
											271 | 
										
																			
											| Logical lines of code | 
											77 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											84 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| register_routes() | 
									S  | 
																	40 | 
													1 | 
													92 | 
							
					
				| handle_update_alts_from_image_array() | 
									S  | 
																	46 | 
													3 | 
													40 | 
							
					
				| handle_cleanup_galleries() | 
									S  | 
																	45 | 
													2 | 
													52 | 
							
					
				| ai_settings() | 
									S  | 
																	50 | 
													2 | 
													31 | 
							
					
				| generate_alt_text() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_gallery_debug() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| get_gallery_status() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| optimize_gallery() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| stop_optimizing_gallery() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| update_ai_settings() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| register_user() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| get_user() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| _permissions_check() | 
									S  | 
																	80 | 
													1 | 
													3 |